package com.kk.config;

import com.kk.util.ToolUtils;
import org.beetl.ext.spring.BeetlGroupUtilConfiguration;
import org.springframework.context.annotation.Configuration;

/**
 * @author: kevin
 * @date: 2018-10-13 16:50
 */
@Configuration
public class BeetlConfiguration extends BeetlGroupUtilConfiguration {

    /**
     * 注册自定义方法
     */
    @Override
    protected void initOther() {
//        groupTemplate.registerFunctionPackage("kaptcha", new KaptchaUtil());
        groupTemplate.registerFunctionPackage("tool", new ToolUtils());
    }
}
